package edu.sctu.fengleilin.month06.day150610.GameRandom;

import java.util.Random;

/**
 * Created by user09 on 2015/6/10.
 */
public class GameData {

    private int GameA;
    private int GameB;
    private int GameC;
    private int GameD;

    public int getGameA() {
        return GameA;
    }

    public void setGameA(int gameA) {
        GameA = gameA;
    }

    public int getGameB() {
        return GameB;
    }

    public void setGameB(int gameB) {
        GameB = gameB;
    }

    public int getGameC() {
        return GameC;
    }

    public void setGameC(int gameC) {
        GameC = gameC;
    }

    public int getGameD() {
        return GameD;
    }

    public void setGameD(int gameD) {
        GameD = gameD;
    }

    public int input(){

        Random random = new Random();
        int gameA= random.nextInt(3)+1;
        System.out.println(gameA);
        return gameA;
    }

    public int input1(){
    Random random1 = new Random();
    int gameB = random1.nextInt(9);
    System.out.println(gameB);
        return gameB;
    }

    public int input2(){
    Random random2 = new Random();
    int gameC = random2.nextInt(9);
    System.out.println(gameC);
        return gameC;
    }

    public int input3(){
    Random random3 = new Random();
    int gameD = random3.nextInt(9);
    System.out.println(gameD);
    return gameD;
    }
}
